import request from '../../request/request_axios.js'


//获取所有的就诊人的检验信息 - 用户
export const listAllExaminationAPI = () => {
    return request({
        url: '/examination/listAllExamination',
        method: 'get',
    });
}

//根据检验id 获取检验信息 - 用户
export const getExaminationByIdAPI = (examinationId) => {
    return request({
        url: '/examination/searchExaminationById',
        method: 'get',
        params: {
            examinationId: examinationId
        }
    });
}

//根据检验id 修改待付款变成待检验 - 用户
export const updateExaminationStatusAPI = (examinationId) => {
    return request({
        url: '/examination/updateStatusToWait',
        method: 'put',
        params: {
            examinationId: examinationId
        }
    });
}

